﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using ObjectBakery.Tests.TestDoubles;
using System.IO;
using ObjectBakery.Helpers;

namespace ObjectBakery.Tests.TestFactories
{
    public class TestProductFactory
    {
        public TestProductFactory()
        {

        }

        public List<Product> Build()
        {
            List<Product> listProducts = new List<Product>();

           

             Product p = new Product
            {
                ID = listProducts.Count + 1,
            Name = "Monkey",
            Description = "Peruvian squirrel monkey.  Approximately 2.5 pounds. Brown",
            SKU = Guid.NewGuid().ToString()
            };

             p.Assets = new TestAssetFactory().Build();
             listProducts.Add(p);

             Product p2 = new Product
             {
                 ID = listProducts.Count + 1,
                 Name = "Monkey2",
                 Description = "Blue-tipped lemur.  Approximately 8 pounds. Feisty",
                 SKU = Guid.NewGuid().ToString()
             };

       
             p2.Assets = new TestAssetFactory().Build();
             listProducts.Add(p2);

             return listProducts;

        }
    }
}
